home *** CD-ROM | disk | FTP | other *** search
/ Computer Inter@ctive 17 / Computer Interactive cdrom 17 - gen 99.iso / ZDNETIT / CONTENT / IMSWBPRO.ZIP / _setup.1 / tutorials.js < prev    next >
Encoding:
Text File  |  1998-09-03  |  1.9 KB  |  107 lines

  1. //<!-- 
  2. //***Virtual Mechanics IMS JavaScript. Project Title: tutorials
  3. mW = window.screen.width;
  4. mH = window.screen.height;
  5. //window.style.display = "none"; 
  6. mS = 1.0; 
  7. //mS = 0.64; 
  8. //if(mW > 0) mS = mW / 800;
  9.  
  10. totAtr = 1;
  11.  
  12. totEvt = 0;
  13.  
  14. totPath = 3;
  15. Gtyp[1] = 1;
  16. Glen[1] = mS*3236;
  17. Gszx[1]=mS*500;
  18. Gszy[1]=mS*309;
  19. Gorx[1]=mS*0;
  20. Gory[1]=mS*0;
  21. Gpxl[1] = new Array(); 
  22. Gpyl[1] = new Array(); 
  23. Gnpt[1] = 2;
  24. Gpxl[1][0]=mS*-500;
  25. Gpyl[1][0]=mS*-309;
  26. Gpxl[1][1]=mS*500;
  27. Gpyl[1][1]=mS*309;
  28. Gspt[2]=new Image();
  29. Gspt[2].src="../clipart/horiyell.gif";
  30. Gtyp[2] = 1;
  31. Glen[2] = mS*1168;
  32. Gszx[2]=mS*283;
  33. Gszy[2]=mS*9;
  34. Gorx[2]=mS*0;
  35. Gory[2]=mS*0;
  36. Gpxl[2] = new Array(); 
  37. Gpyl[2] = new Array(); 
  38. Gnpt[2] = 2;
  39. Gpxl[2][0]=mS*-283;
  40. Gpyl[2][0]=mS*-9;
  41. Gpxl[2][1]=mS*283;
  42. Gpyl[2][1]=mS*9;
  43. Gtyp[3] = 1;
  44. Glen[3] = mS*1292;
  45. Gszx[3]=mS*243;
  46. Gszy[3]=mS*80;
  47. Gorx[3]=mS*0;
  48. Gory[3]=mS*0;
  49. Gpxl[3] = new Array(); 
  50. Gpyl[3] = new Array(); 
  51. Gnpt[3] = 2;
  52. Gpxl[3][0]=mS*-243;
  53. Gpyl[3][0]=mS*-80;
  54. Gpxl[3][1]=mS*243;
  55. Gpyl[3][1]=mS*80;
  56.  
  57. totAct = 0;
  58.  
  59. totObj = 3;
  60. obRef[1] = 1;
  61. ob[1] = new Array();
  62. ob[1].geo = 1;
  63. ob[1].att = 0;
  64. ob[1].evt = 0;
  65. ob[1].act = 0;
  66. ob[1].grp = 0;
  67. ob[1].cpox =386.000000;
  68. ob[1].cpoy =364.000000;
  69. ob[1].cscx =0.537186;
  70. ob[1].cscy =0.821927;
  71. ob[1].crot =0.000000;
  72. ob[1].val  =0;
  73. ob[1].flg  =0;
  74.  
  75. obRef[2] = 2;
  76. ob[2] = new Array();
  77. ob[2].geo = 2;
  78. ob[2].att = 1; 
  79. ob[2].evt = 0;
  80. ob[2].act = 0;
  81. ob[2].grp = 0;
  82. ob[2].cpox =392.000000;
  83. ob[2].cpoy =88.000000;
  84. ob[2].cscx =1.000000;
  85. ob[2].cscy =1.000000;
  86. ob[2].crot =0.000000;
  87. ob[2].val  =0;
  88. ob[2].flg  =0;
  89.  
  90. obRef[3] = 3;
  91. ob[3] = new Array();
  92. ob[3].geo = 3;
  93. ob[3].att = 0;
  94. ob[3].evt = 0;
  95. ob[3].act = 0;
  96. ob[3].grp = 0;
  97. ob[3].cpox =329.000000;
  98. ob[3].cpoy =50.000000;
  99. ob[3].cscx =0.868669;
  100. ob[3].cscy =0.205961;
  101. ob[3].crot =0.000000;
  102. ob[3].val  =0;
  103. ob[3].flg  =0;
  104.  
  105.  
  106. //--> 
  107.